package com.wuliang.generate.response.datasource.controller;

import com.wuliang.generate.bean.entities.datasource.DatasourceTable;
import com.wuliang.generate.bean.vo.datasource.DatasourceTableVo;
import com.wuliang.generate.client.datasource.DatasourceTableClient;
import com.wuliang.generate.common.core.basic.BaseController;
import com.wuliang.generate.common.core.response.Result;
import com.wuliang.generate.repositories.datasource.DatasourceTableRepository;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 邬魉
 */
@Lazy
@RestController
@Api("数据表业务相关")
@RequestMapping("/datasourceTable")
public class DatasourceTableController
        extends BaseController<DatasourceTable, DatasourceTableVo>
        implements DatasourceTableClient {

    @Autowired
    private DatasourceTableRepository tableRepository;

}
